package com.swu.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 诊断信息表
 * </p>
 *
 * @author 勾新杰
 * @since 2025-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("diagnosis_info")
@Schema(name = "DiagnosisInfo", description = "诊断信息表")
public class DiagnosisInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "诊断ID")
    @TableId(value = "diagnosis_id", type = IdType.AUTO)
    private Integer diagnosisId;

    @Schema(description = "病案号")
    private String medicalRecordId;

    @Schema(description = "诊断类型：1-主要诊断, 2-其他诊断, 3-病理诊断")
    private Integer diagnosisType;

    @Schema(description = "诊断名称")
    private String diagnosisName;

    @Schema(description = "疾病编码")
    private String diagCode;

    @Schema(description = "入院病情：1-有/2-临床未确定/3-情况不明/4-无")
    private Integer admissionStatus;

    @Schema(description = "病理号")
    private String pathologyNumber;


}
